package com.hkts.naturalgas.flow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hkts.naturalgas.mybaitsPlus.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 流程实例表
 * </p>
 *
 * @author zy
 * @since 2022-08-31
 */
@Data
@TableName("flow_instanceInfo")
public class FlowInstanceinfo extends BaseEntity {

    private static final long serialVersionUID = 1L;
    public static Integer FLOW_STATUS_RUNNING=0;
    public static Integer FLOW_STATUS_FINISH=1;
    public static Integer NODE_TYPE_CANCEL=2;

    private String id;
    /**
     * 流程模板id
     */
    private String templateId;
    private String templateVersion;
    /**
     * 流程名称
     */
    private String flowName;
    /**
     * 流程创建时间
     */
    private LocalDateTime flowCreateTime;
    /**
     * 流程结束时间
     */
    private LocalDateTime flowEndTime;
    /**
     * 流程发起人id
     */
    private String flowHandlerId;
    /**
     * 流程发起人
     */
    private String flowHandler;
    /**
     * 被审核人id
     */
    private String hontUserId;
    /**
     * 被审核人
     */
    private String hontUserName;
    /**
     * 部门id
     */
    private String hontDepartmentId;
    /**
     * 流程实例状态（0:运行中；1：已完成；2：取消）
     */
    private Integer flowStatus;
    private Integer isOrganization;
    private Boolean del;


}
